#ifndef _CONFIGSLAVEI__H_
#define _CONFIGSLAVEI__H_

#include "ConfigSlice.h"
#include <Ice/Ice.h>

#include "Poco/Event.h"
#include <string>
using namespace Poco;
using std::string;


namespace Config
{

	class ConfigSlaveI : public ConfigSlave
	{
	public:

		void put(const TDicRecord & record, const ::Ice::Current & __cur);

		void change(const ::Ice::Current & __cur);

		bool has(const string tablename);

		void waitChange();

		void clear();

		TDicRecord getChangedRecord();

		private: 
			Event          _change;
			TDicRecord     _record;
	};




} //namespace Config


#endif